package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.Intelligentmanagement.dto.NurseDTO;
import com.hksj.Intelligentmanagement.entity.NurseEntity;
import com.hksj.Intelligentmanagement.vo.NurseSimpleVo;
import com.hksj.Intelligentmanagement.vo.NurseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NurseMapper extends BaseMapper<NurseEntity> {


    List<NurseVo> queryNurseListByPage(IPage page, @Param("nurseDTO") NurseDTO nurseDTO);

    //nx 护士查询
    List<NurseVo> queryNurseListByOperationTime(@Param("nurseDTO") NurseDTO nurseDTO);

    List<NurseSimpleVo> listNurse(@Param("nurseName") String nurseName,@Param("type")Integer type);

    List<NurseVo> pageNurse(Page<NurseVo> page, @Param("nurseName") String nurseName, @Param("employeeNumber") String employeeNumber,@Param("nurseLevelId") String nurseLevelId,@Param("status") String status,@Param("type")Integer type);

    List<NurseSimpleVo> listUnscheduledNurse(@Param("operateTime") String operateTime, @Param("type") Integer type);
}
